package com.gulimall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.to.mq.SeckillOrderTo;
import com.common.utils.PageUtils;
import com.gulimall.order.entity.OrderEntity;
import com.gulimall.order.vo.PayAsyncVo;
import com.gulimall.order.vo.PayVo;

import java.util.Map;

/**
 * 订单
 *
 * @author Rookie-886
 * @email ${email}
 * @date 2021-03-14 22:36:08
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void closeOrder(OrderEntity orderEntity);

    PayVo getPayVo(String orderSn);

    String handlePayResult(PayAsyncVo asyncVo);

    void handlerSeckillQueue(SeckillOrderTo seckillOrderTo);
}

